import dayjs from 'dayjs';
export default [
  {
    title: '生产型号',
    key: 'moduleNo'
  },
  {
    title: '录入时间',
    key: 'modifyTime',
    customRender: row => {
      return dayjs(row.modifyTime).format('YYYY-MM-DD HH:mm:ss');
    }
  },
  { title: '检验类型', key: 'inspectType' },
  { title: '检验数量(PNL)', key: 'quantity' },
  { title: '工程图变更检查', key: 'drawingChangeChecks' },
  { title: '判定', key: 'result' },
  { title: '不良数', key: 'ngNum' },
  { title: '不良率', key: 'ngRatio' },
  {
    title: '班别',
    key: 'shiftType',
    customRender: row => {
      return ['白班', '夜班'][row.shiftType];
    }
  },
  {
    title: '检验人',
    key: 'operator'
  },
  {
    title: '审核人',
    key: 'checker'
  },
  {
    title: '审核时间',
    key: 'checkTime'
  },
  {
    title: '备注',
    key: 'remark'
  }
];
